]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell: Don't avoid parameter list
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 23 Sep 2015 18:40:03 +0000 (20:40 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 23 Sep 2015 19:32:50 +0000 (21:32 +0200)
Meh, C ...

src/shell-app-system.c
src/shell-app-usage.c
src/shell-util.c
src/shell-window-tracker.c

index 3772e642152b6d3a5b942b800c86f92d5dbd75df..a6ddbf28e5a8d75c68e3c1a6fd8549e2aa69fc19 100644 (file)
@@ -182,7 +182,7 @@ shell_app_system_finalize (GObject *object)
  * Return Value: (transfer none): The global #ShellAppSystem singleton
  */
 ShellAppSystem *
-shell_app_system_get_default ()
+shell_app_system_get_default (void)
 {
   static ShellAppSystem *instance = NULL;
 
index 799028109920e0108821c2f6caf1f8ffdec956cc..63c6d583e641840ce8202e2d3db1740c2af6ea8a 100644 (file)
@@ -996,7 +996,7 @@ on_enable_monitoring_key_changed (GSettings     *settings,
  * Return Value: (transfer none): The global #ShellAppUsage instance
  */
 ShellAppUsage *
-shell_app_usage_get_default ()
+shell_app_usage_get_default (void)
 {
   static ShellAppUsage *instance;
 
index ab8a0ce5159b74d9405a23754da38a6396706f0c..e5447c2509d626259b2c15cc83923160c01960ec 100644 (file)
@@ -165,7 +165,7 @@ shell_util_format_date (const char *format,
  */
 /* Copied from gtkcalendar.c */
 int
-shell_util_get_week_start ()
+shell_util_get_week_start (void)
 {
   int week_start;
 #ifdef HAVE__NL_TIME_FIRST_WEEKDAY
index a4d804df0927629eb7c78d6499d4aa9c52723b29..ad1219c13d25807b496cb5dcedb827296254b3b6 100644 (file)
@@ -865,7 +865,7 @@ shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size)
  * Return Value: (transfer none): The global #ShellWindowTracker instance
  */
 ShellWindowTracker *
-shell_window_tracker_get_default ()
+shell_window_tracker_get_default (void)
 {
   static ShellWindowTracker *instance;